package com.macro.mall.common.domain;


import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author：尚志豪
 * @Package：com.macro.mall.portal.domain
 * @Project：mall-swarm-B
 * @name：Product
 * @Date：2024/11/1 16:05
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = false)
@Table(name = "product")
public class Product {

    @Id
    private Long id;
    private String name;
    private Integer stock;
    private Integer preheatStatus;
}
